.dish-rating {
  padding: 10px 0;
  
  .rating-summary {
    margin-bottom: 20px;
    
    .summary-title {
      font-size: 30px;
      font-weight: bold;
      color: #333;
      margin-bottom: 16px;
      display: block;
    }
    
    .summary-content {
      display: flex;
      align-items: center;
      
      .average-rating {
        font-size: 48px;
        font-weight: bold;
        color: #ff9800;
        margin-right: 16px;
      }
      
      .average-stars {
        margin-right: 16px;
      }
      
      .rating-count {
        font-size: 26px;
        color: #999;
      }
    }
    
    .no-ratings {
      font-size: 28px;
      color: #999;
    }
  }
  
  .stars-container {
    display: flex;
    
    .star {
      font-size: 32px;
      color: #ddd;
      margin-right: 4px;
      
      &.filled {
        color: #ff9800;
      }
      
      &:last-child {
        margin-right: 0;
      }
    }
  }
  
  .rate-button {
    background-color: #fff;
    color: #ff6b00;
    border: 1px solid #ff6b00;
    border-radius: 30px;
    font-size: 28px;
    margin-bottom: 20px;
    
    &:active {
      background-color: rgba(255, 107, 0, 0.1);
    }
  }
  
  .rating-form {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    
    .form-title {
      font-size: 28px;
      font-weight: bold;
      color: #333;
      margin-bottom: 16px;
      display: block;
    }
    
    .rating-selector {
      display: flex;
      align-items: center;
      margin-bottom: 16px;
      
      .stars-container {
        .star {
          font-size: 40px;
          cursor: pointer;
        }
      }
      
      .rating-label {
        font-size: 26px;
        color: #666;
        margin-left: 16px;
      }
    }
    
    .comment-input {
      width: 100%;
      height: 160px;
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 12px;
      font-size: 28px;
      margin-bottom: 16px;
    }
    
    .form-buttons {
      display: flex;
      justify-content: flex-end;
      
      .cancel-button, .submit-button {
        width: 180px;
        height: 80px;
        line-height: 80px;
        font-size: 28px;
        border-radius: 40px;
      }
      
      .cancel-button {
        background-color: #f0f0f0;
        color: #666;
        margin-right: 16px;
      }
      
      .submit-button {
        background-color: #ff6b00;
        color: #fff;
        
        &[disabled] {
          background-color: #ccc;
        }
      }
    }
  }
  
  .existing-ratings {
    margin-top: 30px;
    
    .section-title {
      font-size: 30px;
      font-weight: bold;
      color: #333;
      margin-bottom: 16px;
      display: block;
      padding-bottom: 10px;
      border-bottom: 1px solid #f0f0f0;
    }
    
    .rating-item {
      padding: 16px 0;
      border-bottom: 1px solid #f5f5f5;
      
      &:last-child {
        border-bottom: none;
      }
      
      .rating-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 10px;
        
        .user-name {
          font-size: 28px;
          font-weight: bold;
          color: #333;
        }
        
        .rating-date {
          font-size: 24px;
          color: #999;
        }
      }
      
      .rating-stars {
        margin-bottom: 10px;
        
        .stars-container {
          .star {
            font-size: 28px;
          }
        }
      }
      
      .rating-comment {
        font-size: 26px;
        color: #666;
        line-height: 1.5;
      }
    }
  }
} 